package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * @author: lj
 * Date: 2019/9/28 13:40
 * Description:优速网点表
 */
@DatabaseTable(tableName = "UCDeptTable")
public class UCDeptTable {
    /**
     * orgId : 6590488664852369408
     * baseOrgCode : UC000527
     * orgName : 测试网点一
     * orgType : 30
     * deleteFlag : 0
     * deptCode : test02
     * deptName : 测试总部网点01
     * deptType : 2
     * latestTime : 2019-10-17T06:49:03Z
     */
    @DatabaseField(generatedId = true)
    private transient Long id;
    @DatabaseField()
    private String orgId;
    /**
     * 部门唯一标识
     */
    @DatabaseField(uniqueIndex = true)
    private String baseOrgCode;
    @DatabaseField()
    private String orgName;
    /**
     * 部门类型：21-中心(分拨)，30-网点，40-承包区
     */
    @DatabaseField()
    private int orgType;
    @DatabaseField()
    private int deleteFlag;
    @DatabaseField()
    private String deptCode;
    @DatabaseField()
    private String deptName;
    /**
     * 网点类型：0-壹米总部，1-企业总部，2-一级加盟网点，3-二级加盟网点，4-一级直营网点，5-分拨中心，6-集配站，7-大区，8-小区
     */
    @DatabaseField()
    private String deptType;
    @DatabaseField()
    private String latestTime;

    public UCDeptTable() {
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getBaseOrgCode() {
        return baseOrgCode;
    }

    public void setBaseOrgCode(String baseOrgCode) {
        this.baseOrgCode = baseOrgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public int getOrgType() {
        return orgType;
    }

    public void setOrgType(int orgType) {
        this.orgType = orgType;
    }

    public int getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(int deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptType() {
        return deptType;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }

    public String getLatestTime() {
        return latestTime;
    }

    public void setLatestTime(String latestTime) {
        this.latestTime = latestTime;
    }
}
